/*------------------------------------------------------------------------------------------------\
| Horrible X-Wing game by Steven Haber
| st_haber@hotmail.com
|
| sound.h: Sound class to hold all sounds, written to avoid memory leaks I
|	was having with the SFML library
\------------------------------------------------------------------------------------------------*/

#ifndef MYSOUND_H
#define MYSOUND_H

#include "xwing.h"

enum sounds{SELECT, ENTER, LAYZAR_ONE, LAYZAR_TWO, HURT_PLAYER, HURT_ENEMY, LAYZAR_ENEMY, DIE};

class Sound
{
public:
	Sound();
	void playSound(int sound);

private:
	sf::Sound mSelectSound[SELECTSOUNDS];
	sf::Sound mEnterSound;
	sf::Sound mLayzarSoundP1[LAYZARSOUNDSP];
	sf::Sound mLayzarSoundP2[LAYZARSOUNDSP];
	sf::Sound mHurtSoundP[HURTSOUNDSP];
	sf::Sound mHurtSoundE[HURTSOUNDSE];
	sf::Sound mLayzarSoundE[LAYZARSOUNDSE];
	sf::Sound mDieSound[DIESOUNDS];
};

#endif